POV-Ray : Newsgroups : povray.beta-test : spline & macro : Re: spline & macro Server Time
5 Nov 2024 01:22:19 EST (-0500)
  Re: spline & macro  
From: Mark Wagner
Date: 12 Sep 2001 00:16:09
Message: <3b9ee189@news.povray.org>
Ron Parker wrote in message ...
>On Tue, 11 Sep 2001 00:24:22 -0400, Mark Wagner wrote:
>>This time, POV-Ray finds the parenthesis, and is expecting a number or
>>vector.  As a result, when it finds the "MySpline", it evaluates the
spline
>>at 0.5, and passes the result to the macro.
>>
>>Because of the way the POV-Ray parser works, I don't think this behavior
can
>>easily be changed.
>
>Maybe, maybe not.  It might be possible to fix it without breaking too
much.


Would it also be possible to fix things so that a spline will return a 3D
vector under normal circumstances, but a 5D vector when used in a color?
The spline interpolation code is quite capable of working with 5D vectors.

--
Mark


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.